<!DOCTYPE HTML>
<html>
<head>
  <!--$Author: paullasarev@gmail.com $--> 
  <!--$Id: test.html 239 2013-01-06 09:28:31Z paullasarev@gmail.com $--> 
  
  <title>SVGRAM unit tests</title>
  <meta http-equiv="X-UA-Compatible" content="IE=edge" /> 

  <link rel="shortcut icon" type="image/png" href="lib/jasmine/jasmine_favicon.png">

  <link rel="stylesheet" type="text/css" href="lib/jasmine/jasmine.css">
  <script type="text/javascript" src="lib/jasmine/jasmine.js"></script>
  <script type="text/javascript" src="lib/jasmine/jasmine-html.js"></script>

  <script src="src/require.js"></script>

  <script type="text/javascript">
    requirejs.config({
      baseUrl: 'src',
      urlArgs: "bust=" + (new Date()).getTime(), // to prevent RequireJS .js caching in development
    });
    requirejs(
      [
        "domReady!",
        "test/shape.js",
        "test/rect.js",
        "test/line.js",
        "test/text.js",
      ],
      function() {
        
        var jasmineEnv = jasmine.getEnv();
        jasmineEnv.updateInterval = 1000;

        var reporter = new jasmine.TrivialReporter();

        jasmineEnv.addReporter(reporter);

        jasmineEnv.specFilter = function(spec) {
            return reporter.specFilter(spec);
        };

        jasmine.getEnv().execute();
    });
   
  </script>

</head>

<body>
  <div id="qunit-fixture"></div>
</body>
</html>
